import React from 'react';
import ReactDOM from 'react-dom';

import App from './App';
import '@/main.scss'
import './style/style.scss'
import Nofooter from './Nofooter'
import * as serviceWorker from './serviceWorker';
import { HashRouter as Router, Switch, Route } from "react-router-dom";
import { Provider } from 'mobx-react';
import store from './store';
import 'element-theme-default'
ReactDOM.render(
    <Provider store = { store }>
    <Router>
        <Switch>
           <Route path = '/nofooter' component = { Nofooter} />
            <Route path="/" >
                <App />
            </Route>
        </Switch>
        </Router>
        </Provider>
    , document.getElementById('root')
);

serviceWorker.unregister();
